//
//  UDLoginManager.h
//  UnitDemo
//
//  Created by wangqinglu on 15/11/10.
//  Copyright © 2015年 xs. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UDLoginManager : NSObject
@property(nonatomic, readonly) BOOL isLogged; // 是否登录
@property(nonatomic, readonly) NSDictionary* userInfo;

+(UDLoginManager *) sharedInstance;

// 登录
-(void) signInWithUserName:(NSString*)username Password:(NSString*)psw;

// 登出
-(void) logout;
@end
// in *.h
extern NSString* const UDLOGINMANAGER_NOTIFICATION_SIGNIN_SUCCESS;

